Release 10.1A: OpenEdge Development:
Programming Interfaces
Automation event support
Progress supports event notification for ActiveX Automation objects with a built-in method that enables event notification for that specific component handle.
Note: This method is invalid when the component handle represents a control, since events work for controls automatically.The following syntax describes the
ENABLE-EVENTSmethod for ActiveX Automation objects:
event-proc-prefixA
CHARACTERexpression representing a string prepended to every event received. The resulting string is the name of the internal procedure Progress runs in response to an event notification. During an event notification, all running procedures and all persistent procedures are searched to find a procedure with the name matchingevent-proc-prefix.eventname(for example, ExcelWB.SelectionChanged).For more information on managing Automation objects, see the sections on COM object management in Chapter 14, " Using COM Objects in the 4GL."
For information on ActiveX control event management, see Chapter 16, " ActiveX Control Support."
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |